import { ApiProperty } from '@nestjs/swagger';

/** id类型返回DTO */
export class IdNameDefaultResDto {
  @ApiProperty({ description: 'id' })
  readonly id: number;

  @ApiProperty({ description: 'name' })
  readonly name: string;

  @ApiProperty({ description: 'name' })
  readonly display_name: string;

  @ApiProperty({ description: 'default' })
  readonly default: boolean;
}
